/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.xsjh.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 销售机会Entity
 * @author wzhao1
 * @version 2017-06-12
 */
public class TestXsjh extends DataEntity<TestXsjh> {
	
	private static final long serialVersionUID = 1L;
	private String xsjhName;		// 机会名称
	private String xsjhType;		// 机会类型
	
	public TestXsjh() {
		super();
	}

	public TestXsjh(String id){
		super(id);
	}

	@Length(min=0, max=100, message="机会名称长度必须介于 0 和 100 之间")
	public String getXsjhName() {
		return xsjhName;
	}

	public void setXsjhName(String xsjhName) {
		this.xsjhName = xsjhName;
	}
	
	@Length(min=0, max=100, message="机会类型长度必须介于 0 和 100 之间")
	public String getXsjhType() {
		return xsjhType;
	}

	public void setXsjhType(String xsjhType) {
		this.xsjhType = xsjhType;
	}
	
}